package model;

import java.awt.Graphics;
import java.awt.geom.Point2D;


// ********************************************************************
// *** INTERFACE: Drawing2D
// ********************************************************************
public abstract class Drawing2D
{ protected Point2D.Double origo2D;
  protected double scale2D;

  // *************************************************************************
  // *** CONSTRUCTOR: Drawing2D
  // *************************************************************************
  public Drawing2D(Point2D.Double origo2D,double scale2D)
  { this.origo2D=origo2D;
    this.scale2D=scale2D;
  }

  // *************************************************************************
  // *** METHOD: set2DScaling
  // *************************************************************************
  public void set2DScaling(Point2D.Double origo2D,double scale2D)
  { this.origo2D=origo2D;
    this.scale2D=scale2D;
  }
  
  // ******************************************************************
  // *** METHOD: setPrintScaling
  // ******************************************************************
  public abstract void setPrintScaling2(double scale);

  // ******************************************************************
  // *** METHOD: paint
  // ******************************************************************
  public abstract void paint(Graphics g);

}